home *** CD-ROM | disk | FTP | other *** search
/ Trading on the Edge / Trading On The Edge - CD-ROM Toolkit (Wayzata Technology)(2031)(1994).bin / mac / Mac_Files / Vendor Demos / RomMaker / TestData / Chaptr3A.txt < prev    next >
Text File  |  1992-09-08  |  30KB  |  589 lines

  1.  
  2.                            3 Making The First CD-ROM
  3.  
  4.  
  5.    Having installed the demonstration program on your hard disk, we will
  6.    take you through some simple steps where you will make a pre-mastered
  7.    CD-ROM. This demo program behaves identically to RomMaker in that it has
  8.    the same menu structure and input fields as the RomMaker.  Before con-
  9.    tinuing, we will take a brief tour of the RomMaker help system which you
  10.    should use extensively.
  11.  
  12.                                    [PICTURE]
  13.  
  14.                         Figure 3.1 - Sample Help Screen
  15.  
  16.    RomMaker's help system is context-sensitive; it provides help based on
  17.    what you are currently doing and where the mouse is located on the
  18.    screen. You can get help at any point in one of the following ways:
  19.  
  20.         1.   At any time, select the [KEYCAP] in the section at the top
  21.              right of the screen. RomMaker will open up a window containing
  22.              general information. You can navigate back and forth through
  23.              the help system by clicking either the forward or backward
  24.              arrow situated on the top right corner in the help window. The
  25.              help system is based on this reference guide and thus contains
  26.              much of the same information.
  27.  
  28.         2.   Alternatively, you can get a full description of a particular
  29.              field in any form by simply double clicking on the label in a
  30.              particular section. For instance, suppose you wanted to know
  31.              more about the field CD-ROM Standard in the Volume Information
  32.              folder, move the mouse to the text CD-ROM Standard in the
  33.              Hypercard form/stack and click on the label.  Again RomMaker
  34.              will open up a help window containing the relevant informa-
  35.              tion.
  36.  
  37.  
  38.    Before we explore, how to make a CD-ROM using the RomMaker, let us take
  39.    a closer look at how CD-ROM's were made in the past.
  40.  
  41.  
  42.  
  43.    3.1 How CD-ROMs were made
  44.  
  45.    Historically, creating an Apple HFS CD-ROM volume has been a complex and
  46.    cumbersome process. Typically, users would ship a dedicated hard disk
  47.    that had undergone special preparation to ensure that the CD-ROM pro-
  48.    duced would operate when mounted on a CD-ROM player. Users had to manu-
  49.    ally perform the following key steps on the hard disk they shipped to a
  50.    mastering plant:
  51.  
  52.         1.   Individually copy all the files/folders from their source to a
  53.              hard disk which was to be sent to a replication facility.
  54.  
  55.         2.   Remove the device driver descriptor map from the hard disk so
  56.              that the CD-ROM produced would not inadvertently act as a
  57.              system drive.
  58.  
  59.         3.   Defragment the disk so that files scattered over the hard disk
  60.              would be made more contiguous improving CD-ROM performance.
  61.  
  62.         4.   Build a system 7 desktop.
  63.  
  64.         5.   Build a system 6 desktop by mounting the disk under system 6
  65.              and performing key operations.
  66.  
  67.         6.   Delete redundant folders and files such as the Trash folder,
  68.              Move rename folder and the AppleShare PDS files. CD-ROMs do
  69.              not have these folders or files.
  70.  
  71.         7.   Position all Icons to their correct location each time the
  72.              CD-ROM was published.
  73.  
  74.         8.   Manually resolve aliases on all alias files to ensure that all
  75.              aliases point to files only on the target CD-ROM.
  76.  
  77.    Furthermore, they could not determine application performance from the
  78.    CD-ROM to optimize CD-ROM layout without producing a physical disk. Even
  79.    when they had made such check discs, there was no empirical system to
  80.    help them both identify and locate the more frequently used files on the
  81.    CD-ROM produced. The process was error prone, cumbersome and often
  82.    produced non optimized CD-ROM whose performance was often extremely
  83.    poor.
  84.  
  85.    3.2 Making a CD-ROM with RomMaker
  86.  
  87.    The RomMaker automatically performs all of the necessary operations
  88.    required to ensure that the CD-ROM you produce will not only mount on
  89.    any CD-ROM player but will be optimized for fast performance. You simply
  90.    choose from the different options before you make the CD-ROM and the
  91.    RomMaker will guarantee that the CD-ROM made will run on any CD player.
  92.    The typical process of making an Apple HFS CD-ROM with the RomMaker
  93.    requires the following six steps:
  94.  
  95.         1.   Define volume characteristics by selecting appropriate desk-
  96.              top, icon, alias management options.
  97.  
  98.         2.   Define a script called the Rom Content Script that identifies
  99.              the source of your data and the destination name on the CD-ROM
  100.              and its order on the CD-ROM.
  101.  
  102.         3.   Position CD-ROM file/folder Icons. When an HFS CD-ROM is to be
  103.              published regularly, you can optionally create a database of
  104.              Icon positions so that each file/folder is always positioned
  105.              at the same spot each time the CD-ROM is published. This is
  106.              important since many times, you may have moved the source
  107.              positions around while preparing the data you wish to place on
  108.              the CD-ROM. You clearly do not need to do this if the CD-ROM
  109.              is just one of and not part of a regular publishing cycle.
  110.  
  111.         4.   Make CD-ROM Image. In this step, the RomMaker will build an
  112.              exact image of the CD-ROM on its internal  hard disk so that
  113.              you can mimic the behavior and structure of the CD-ROM exactly
  114.              before you make a physical CD-ROM.
  115.  
  116.         5.   Emulate and test CD-ROM integrity from the CD-ROM disk image.
  117.              The RomMaker emulation system emulates a CD-ROM drive of your
  118.              choice so that the performance you observe is exactly that of
  119.              a particular CD-ROM drive. i.e The emulation system delays
  120.              access to the hard disk based on the performance characteris-
  121.              tics of the CD-ROM drive it is emulating. At this step, you
  122.              can even ask the RomMaker to collect statistics on the access
  123.              times that may be observed with particular applications to
  124.              help you optimize the physical position of files on your
  125.              CD-ROM.
  126.  
  127.         6.   Replicate. In this final stage, the RomMaker will produce a
  128.              CD-ROM from the hard disk image which previously tested and
  129.              verified. The time taken to replicate a CD-ROM is directly
  130.              dependent on the amount of data on the CD-ROM -every 10 MB
  131.              takes a minute to replicate and there is a fixed overhead of
  132.              four and half minutes for each CD-ROM independent of the
  133.              amount of data you are copying.
  134.  
  135.    The process of making a CD-ROM with RomMaker is relatively simple. You
  136.    simply pick the options and RomMaker does the rest. You can then test
  137.    and optimize the CD-ROM before you send it for replication.
  138.  
  139.    3.3  Defining Volume characteristics.
  140.  
  141.                                    [PICTURE]
  142.  
  143.           Figure 3.2 - Options available for defining a CD-ROM volume
  144.  
  145.    When you run the demonstration software by invoking the Hypercard stack
  146.    called RomMaker in your RomMaker Demo folder, you will see a screen
  147.    similar to the one above. There are various Hypercard sections that you
  148.    can select when defining options for the CD-ROM volume you wish to
  149.    create.  You can select any of these by moving the mouse to the appro-
  150.    priate label at the bottom of the window and clicking it.  These sec-
  151.    tions are as follows:
  152.  
  153.         1.   Volume Information. You must fill in at least the Volume name,
  154.              Rom Content file and Rom Standard fields in this form to make
  155.              a CD-ROM.
  156.  
  157.         2.   Apple HFS Information. This form is used to select the various
  158.              options available for an Apple HFS CD-ROM. We will discuss
  159.              these options in detail later in this section.
  160.  
  161.         3.   Publication Information. This form is only used when you are
  162.              making a ISO 9660 or dual mode CD-ROM. It allows you to
  163.              specify the location of copyright notices, bibliographic data
  164.              etc. regarding the contents of the CD-ROM. We will cover the
  165.              definition of these fields in the next section.
  166.  
  167.         4.   System Information. This form defines some system level
  168.              options allowing you to place boot records, encrypted data
  169.              etc. on an ISO 9660 CD-ROM. Again these options are not
  170.              available on a Apple HFS CD-ROM.
  171.  
  172.         5.   Date/Time Attributes. In making a CD-ROM, you can specify
  173.              specific volume attributes for an ISO 9660 volume related to
  174.              the date/time the CD-ROM was published. This Hypercard form
  175.              allows you to specify date/time created, date/time modified,
  176.              expiration date/time and default setting for the date/time
  177.              stamp for folders and files on the CD-ROM. You do not typi-
  178.              cally need to change these options unless you wish to hide all
  179.              the files or fix their timestamps.
  180.  
  181.         6.   Miscellaneous Options. These options allow you to change the
  182.              names of key system files produced by the RomMaker from their
  183.              default names. For example, the RomMaker will produce during a
  184.              typical session:
  185.  
  186.                   *    Error file containing all errors reported by the
  187.                        RomMaker.
  188.  
  189.                   *    Log File noting the file name and sources and
  190.                        physical locations of all files placed on the CD-
  191.                        ROM.
  192.  
  193.                   *    Statistics File containing a statistical summary of
  194.                        files accessed on a CD-ROM image to help you opti-
  195.                        mize performance.
  196.  
  197.                   *    Icon Database file containing the icon positions of
  198.                        each file/folder on a CD-ROM.
  199.  
  200.                   *    CD-ROM Drive to emulate.
  201.  
  202.    The basic concept behind publishing a CD-ROM with RomMaker is simple.
  203.    Each CD-ROM is considered to be like a book (or title). The user has to
  204.    fill in some key attributes of this book like name (Volume Label),
  205.    content structure (CD-ROM file system standard) etc. Thus, for each
  206.    CD-ROM title that you publish, you must specify two major sets of
  207.    criteria to label it.
  208.  
  209.         *    Title definition. This process involves selecting the various
  210.              title attributes from the hypercard stacks. You can save these
  211.              titles and re-use each time you publish that title. This fea-
  212.              ture is useful, as successive masterings of a title are often
  213.              quite similar except for an updated date stamp. The Hypercard
  214.              forms you fill specify the contents of this title file.
  215.  
  216.         *    Rom Content Script. This process involves scripting a textual
  217.              file called the Rom Content file which defines the CD-ROM
  218.              folder structure layout and where the source of the data is
  219.              for the CD-ROM you wish to make. Each title has an associated
  220.              CD-ROM content script that must be specified before a CD-ROM
  221.              can be made
  222.  
  223.    When you run the RomMaker demonstration program, it displays the attrib-
  224.    utes of the title 'Demo Volume' shipped with this demonstration.
  225.  
  226.                                    [PICTURE]
  227.  
  228.                     Figure 3.3 - Volume Information Section
  229.  
  230.    Figure 3.3 shows the Volume Information section which is also the first
  231.    screen you see when you open the RomMaker.  The Volume Information sec-
  232.    tion contains four data items that are mandatory for creating the title
  233.    file. You will see additional items in the other sections, all of which
  234.    are optional. We will make our first CD-ROM using only the four manda-
  235.    tory items:
  236.  
  237.         *    Volume Label. This uniquely identifies the CD-ROM electron-
  238.              ically. It is analogous to a book's title on the front cover.
  239.              You can enter up to 27 alphabetic characters in this field.
  240.              This is the volume name of the CD-ROM you will be making.
  241.  
  242.              We have called the volume label of our first CD-ROM 'Demo
  243.              Volume'. You can change this volume label simply by typing
  244.              another label into the Volume Label field.
  245.  
  246.         *    Rom Content or Script File. This is the name of the file that
  247.              contains the script defining the CD-ROM folder structure
  248.              information. Each title requires an ASCII text file that you
  249.              will create containing the folder structure of the CD-ROM. The
  250.              demonstration system has a predefined script stored in the
  251.              file 'RomMaker Script' located in your RomMaker Demo folder .
  252.              To examine or modify its contents, simply select the Examine
  253.              button next to the Rom Content File field.
  254.  
  255.              You can create your own script if you so wish by selecting the
  256.              Create button. In this case, you will be asked to specify a
  257.              file name that will contain the Rom Content script. If you do
  258.              this, you will need to specify your own script containing the
  259.              files you want to put on the CD-ROM image when we pre-master
  260.              during this demonstration. Note, RomMaker always inserts the
  261.              full pathname of the filename you have selected into the
  262.              content file specification field. Later in this section we
  263.              will examine this content specification file or script which
  264.              define the structure of the CD-ROM we wish to make.
  265.  
  266.         *    Rom File System Standard. You will recall from our discussion
  267.              in Section 1 on file system standards that a Macintosh CD-ROM
  268.              can be formatted in one of four standards:
  269.  
  270.                   *    Apple HFS
  271.  
  272.                   *    ISO 9660
  273.  
  274.                   *    Hi-Sierra
  275.  
  276.                   *    Hybrid ISO 9660/Apple HFS
  277.  
  278.              If you aren't sure which standard to follow, choose the Apple
  279.              HFS standard. This will make a CD-ROM that will mount as a
  280.              standard volume on a Macintosh computer.
  281.  
  282.                                    [PICTURE]
  283.  
  284.               Figure 3.4 - Filename options for ISO 9660 CD-ROMs
  285.  
  286.         *    Filename convention. If you choose a file system standard
  287.              other than Apple HFS, the RomMaker will automatically show you
  288.              another set of options. In such cases, you will have to make
  289.              some decisions on the conversion of filenames to Non Apple HFS
  290.              standard. The Filename convention field in the Volume Informa-
  291.              tion form has three choices:
  292.  
  293.                   *    MS-DOS (convert Apple filenames to the eight-dot-
  294.                        three filename convention used by DOS users).
  295.  
  296.                   *    ISO Level 1 (convert Apple filenames to eight-dot-
  297.                        three filename convention and restrict filename
  298.                        characters to the ISO set where only the characters
  299.                        A-Z,0-9, and _ are allowed).
  300.  
  301.                   *    ISO 9660 (ensure that filenames conform to the ISO
  302.                        9660 filenaming convention).
  303.  
  304.              For our first CD-ROM, simply leave the value of the Rom file
  305.              system  standard to the default of Apple HFS. You will thus
  306.              not see the filename convention selections shown in the above
  307.              form.
  308.  
  309.    You have now defined the title file essentials for making a CD-ROM. Most
  310.    CD-ROMs will in fact only require these fields.
  311.  
  312.    3.4 Selecting other options
  313.  
  314.    Having created a Rom Content script using the editor, let us now look at
  315.    setting some Apple HFS system options. Select the Apple HFS section and
  316.    you will see the Hypercard stack shown below.
  317.  
  318.                                    [PICTURE]
  319.  
  320.                      Figure 3.5 - Apple HFS format options
  321.  
  322.    You can pick from four major sets of system options all related to the
  323.    Apple HFS CD-ROM you are about to make:
  324.  
  325.          1   Desktop Management.
  326.  
  327.              Although the RomMaker Software only runs on the System 7
  328.              operating system, it does have the capability to produce an
  329.              HFS CD-ROM that works on System 6. For an Apple HFS to operate
  330.              correctly, key files called the system desktop files for the
  331.              respective operating systems must be present on the CD-ROM.
  332.  
  333.              The RomMaker creates the System 7 desktop files automatically
  334.              each time it makes a CD-ROM volume. You can however also
  335.              create a System 6 desktop as well if you want this CD-ROM to
  336.              mount as an HFS volume under System 6. To ask RomMaker to
  337.              build a System 6 desktop, simply select the correct radio
  338.              button and RomMaker will do the rest.
  339.  
  340.         4.   Alias Management.
  341.  
  342.              The Macintosh operating system, System 7, allows users to
  343.              create alias files which point to the original files. When
  344.              these alias files are copied to the CD-ROM, they can continue
  345.              to point to the original file which may be on the hard disk.
  346.  
  347.              The RomMaker allows you to resolve such aliases so that if the
  348.              original file was also copied to the CD-ROM, then the alias
  349.              file is changed according to point to the version of the file
  350.              on the CD-ROM and not to the original. This option allows you
  351.              to select whether you wish the RomMaker to resolve aliases. If
  352.              you decide to allow RomMaker to resolve aliases, then you must
  353.              decide whether to:
  354.  
  355.                   *    Stop on aliases which are not resolved. This happens
  356.                        when an alias is copied but its original file is
  357.                        not. When this happens, clearly the alias cannot be
  358.                        resolved to a file on the CD-ROM and the RomMaker
  359.                        will put up a dialog box informing you of this
  360.                        event. You can continue or stop processing at this
  361.                        point.
  362.  
  363.                   *    Ignore aliases not resolved. In this case, all
  364.                        aliases not resolved are logged to the volume error
  365.                        file which you may examine at your leisure.
  366.  
  367.              In both cases, the aliases not resolved are left pointing to
  368.              the original file. It is usually not a good idea to have such
  369.              aliases on the CD-ROM since it is likely that the CD-ROM will
  370.              be played on a system where this original file may not exist.
  371.  
  372.    You are now ready to make a custom CD-ROM according to the specifica-
  373.    tions selected in the HFS system options. The other volume information
  374.    sections (i.e. Publication Info, System Info, Date and Time Attributes)
  375.    are used only when you make an ISO 9660 CD-ROM and will be covered in
  376.    the next section.
  377.  
  378.    3.5 Creating a Rom Content Script File
  379.  
  380.    Each CD-ROM that you publish must have its own title and Rom content
  381.    script specification. Having specified a simple title by filling in the
  382.    Hypercard volume information form and HFS options, let us now proceed to
  383.    define the contents of the CD-ROM (i.e table of contents in a book.).
  384.  
  385.                                    [PICTURE]
  386.  
  387.                        Figure 3.6 - The RomMaker Editor
  388.  
  389.    The content specification phase of creating a CD-ROM requires you to
  390.    create an ASCII text script file using the editor supplied with Rom-
  391.    Maker. To invoke the editor, simply select the Examine button next to
  392.    the content definition file name and you will be placed into the
  393.    RomMaker editor.
  394.  
  395.    Figure 3.6 shows the RomMaker editor screen containing a script supplied
  396.    with this software.  For each file or folder that you want to put on a
  397.    CD-ROM, the content specification script must contain a single-line
  398.    entry containing the following information:
  399.  
  400.         *    The name of the source file/folder on your hard disk or net-
  401.              work. This tells RomMaker where to look for the files when
  402.              making the CD-ROM.
  403.  
  404.         *    The name of the destination file/folder on the CD-ROM. This
  405.              tells RomMaker where to put the file on the CD-ROM and what to
  406.              call it.
  407.  
  408.    Each content entry has the following structured textual format:
  409.  
  410.    "Source File/Folder Name"   "CD-ROM File/Folder Name" <Optional Flags>
  411.  
  412.    There are two mandatory parameters and one optional parameter you must
  413.    specify for each file/folder you wish to put on a CD-ROM. As an example,
  414.    suppose you wanted to make a simple CD-ROM containing just two files -
  415.  
  416.    the source file 'Home' is to be called 'Home Stack' in the root folder
  417.    of the CD-ROM and the file 'Hypercard' is to be placed in the folder
  418.    'Applications' on the CD-ROM. Let us say that both these files reside on
  419.    our 'Macintosh HD' volume inside the 'Card' folder. The content
  420.    specification file would contain the following two textual lines which
  421.    you would input:
  422.  
  423.  
  424.        "Macintosh HD:Card:Home"         ":Home Stack"
  425.  
  426.        "Macintosh HD:Card:Hypercard"   ":Applications:Hypercard"
  427.  
  428.    Note the use of the double quote to delimit the complete filename if
  429.    there are spaces in the source/destination filename or folder. Note also
  430.    the use of the ':' character to separate each level of the folder tree
  431.    from its parent.  In the above example, the files 'Home' and 'Hypercard'
  432.    located in the 'Card' folder on the volume 'Macintosh HD' will be copied
  433.    to the CD-ROM. The file 'Home' will be moved to the root of the volume
  434.    and renamed 'Home Stack' on the CD-ROM while the file Hypercard will be
  435.    resident under a folder on the CD-ROM called 'Applications'.
  436.  
  437.    This process of specifying files can be cumbersome if you have to indi-
  438.    vidually specify every file that goes into the CD-ROM. However this is
  439.    not usually the case since it is likely that your source files are
  440.    organized into some logical structure and you will in fact be copying
  441.    groups of files located in specific folders. You can use the scripting
  442.    system to specify a set of files per line. For example, suppose you
  443.    wanted to transfer all the files in your CARD folder to a CD-ROM folder
  444.    called 'Hypercard' folder on the CD-ROM. The content definition file
  445.    would contain the following entry:
  446.  
  447.        "Macintosh HD:Card"         ":Hypercard"
  448.  
  449.    RomMaker will search the 'Card' folder of the volume 'Macintosh HD' for
  450.    each file and put those files into the 'Hypercard' folder on the CD-ROM.
  451.  
  452.    You can also copy complete folder trees using a single line in your
  453.    script. To illustrate, suppose you want to make a copy of two of your
  454.    volumes 'Macintsoh HD' and 'Second Volume' on a CD-ROM. Your Rom Content
  455.    file would contain the following line:
  456.  
  457.  
  458.        "Macintosh HD:"              ":Primary Volume"      -f
  459.  
  460.        "Second Volume:"             ":Secondary Volume"    -f
  461.  
  462.  
  463.    The '-f', called an extension flag to the basic script line, tells
  464.    RomMaker that you want to copy the volume/folder 'Macintosh HD:' in
  465.    whole with any files or folder underneath the root folder to a CD-ROM
  466.    folder structure whose top is the folder 'Primary Volume'. The second
  467.    line in the content specification file simply copies the volume 'Second
  468.    Volume' to the CD-ROM folder 'Secondary Volume'.  The RomMaker supports
  469.    a variety of these flags that allow you to define attributes for each
  470.    line in your script file. The list below summarizes the key options.
  471.    Note you will only need to use these more complex script options in
  472.    specialized situations.
  473.  
  474.     -f    The -f  or subfolder flag searches the folder tree for all files
  475.           matching the input file specification. The following command will
  476.           cause RomMaker to copy all files and folders under the folder
  477.           'Doc Data' to a CD-ROM folder 'CD Doc Data':
  478.  
  479.     -t    The -t or timestamp flag followed by a date and time defines the
  480.           date and time stamp for the group of files defined by the source
  481.           file specification. The following command will cause RomMaker to
  482.  
  483.           copy the file 'RomMaker Doc" to the CD-ROM root with its time
  484.           stamp set to December 31st 1990 at 12:00pm:
  485.  
  486.                "HD:Doc:RomMaker Doc"    ":"     -t 12\31\90 12:00
  487.  
  488.     -o    The -o or output file flag, followed by one of the attribute
  489.           types 'n' or 'h', sets the attributes of the output file created
  490.           on the CD-ROM. On a CD-ROM, you can have normal or hidden files;
  491.           system files aren't applicable and the read-only flag is always
  492.           set due to the physical properties of a CD-ROM. The n [normal] or
  493.           h [hidden] attribute selector overrides any title defaults. The
  494.           following command will cause RomMaker to copy and hide the file
  495.           PASSWORD in the CD-ROM root folder:
  496.  
  497.                "HD:Password"    "Password"     -oh
  498.  
  499.     -k    The -k or keep flag is used to keep the date and time stamp of
  500.           the original source file. When RomMaker makes a CD-ROM, it uses
  501.  
  502.           the defaults specified in the title form for the files as its
  503.           date and time stamp if you turned the 'keep' attributes check box
  504.           off. The -k flag lets you override this and keep the original
  505.           time stamp on specific files/folders . To keep the timestamps on
  506.           all files, use the Keep Timestamp option in the title form (in-
  507.           stead of flagging each line in your Rom Content file).
  508.  
  509.      -m   The -m or marked flag is used to exclude files from a particular
  510.           search path. To illustrate, suppose that you have folder tree
  511.           containing some 2000 files and 100 directories most of which you
  512.           wish to place on a CD-ROM but wish to exclude say 10 fol-
  513.           ders/files from this search path. The -m or marked flag tells the
  514.           RomMaker to ignore all filenames and folders whose first and last
  515.           character of the name are '(' and ')' respectively. Hence all you
  516.           have to do is to go and bracket the names of the files/folders
  517.           using the finder and use the -m flag in your script file.
  518.  
  519.     -v    The -v or version flag is used if your source of data is an ISO
  520.           9660 CD-ROM. The filenames on these CD-ROMs have a version number
  521.           appended to their name. For example, the file "MYFILE.TXT" will
  522.           show up as "MYFILE.TXT;1" when mounted on a Macintosh. This flag
  523.           simply instructs the RomMaker to remove the version number from
  524.           the filename when it puts it out on the HFS CD-ROM.
  525.  
  526.     -i    the -i or Icon flag enables you to specify an icon for the CD-ROM
  527.           you make. System 7 allows you to define an Icon for any CD-ROM.
  528.           To enable this feature, simply create a file containing the icon
  529.           using ResEdit and then specify this file in the script with the
  530.           -i flag.
  531.  
  532.           Note that if you are copying a complete hard disk volume which
  533.           has its own icon, RomMaker will automatically copy that icon to
  534.           the CD-ROM image unless it finds a script line with the -i flag.
  535.  
  536.     -x    the -x or exclude flag is used only in dual mode CD-ROMs which
  537.           have both the ISO and Apple HFS file systems on the same CD-ROM.
  538.           Since a dual mode CD-ROM has two partitions, you may wish to
  539.           select whether a set of files/folders need to be excluded from a
  540.           particular file system. The format for this is demonstrated
  541.           below:
  542.  
  543.           "HD:MAC FOLDER" "MAC FOLDER"  -f -x ISO
  544.           "HD:DOS FOLDER" "DOS FOLDER"  -f -x HFS
  545.           "HD:BOTH FOLDER" "BOTH FOLDER" -f
  546.  
  547.           In the above script, the first line in the script use the -x
  548.           (exclude) flag to instruct the RomMaker not to enter these files
  549.           into the ISO 9660 file system partition since they are clearly
  550.           Macintosh files. In the second line, the -x flag is used to
  551.           ensure that the files are not found in the HFS partition. The
  552.           last line where no -x flag is found (the default)  means that the
  553.           files in that folder are found in both partition.
  554.  
  555.           When a dual mode CD-ROM is made, a particular file is copied only
  556.           once and both the file system entries point to just this once
  557.           occurrence of the file on the CD-ROM. As a result, if the files
  558.           are common to both Apple HFS and ISO 9660, each partition appears
  559.           to hold the maximum allowed per CD-ROM, upto 680MB of data.
  560.  
  561.    You can have as many flags as you want on each command line. For
  562.    example, the Rom Content script line:
  563.  
  564.    "Mac HD:Secret Folder"  ":Password"   -oh -t 01\01\91 12:00 -f -k -m
  565.  
  566.    will search the folder tree under 'Secret Folder' for all files exclud-
  567.    ing all marked files and copy them to the  'Password' folder on the
  568.    CD-ROM where all the files are hidden and timestamped January 1, 1991
  569.    12:00 pm.
  570.  
  571.    By combining optional flags on each line in your script, RomMaker sup-
  572.    ports a powerful mechanism for building your CD-ROM folder structure
  573.    efficiently and to your satisfaction.
  574.  
  575.    To allow comments to be inserted into your script, RomMaker ignores all
  576.    lines that begin with a semi-colon ';'.
  577.  
  578.                                    [PICTURE]
  579.  
  580.                      Figure 3.7 - Sample Rom Content File
  581.  
  582.    Figure 3.7 shows a sample Rom Content file. This script is shipped with
  583.    the demonstration. You can use this script if you wish to produce a
  584.    sample CD-ROM or you can create your own script file like this based on
  585.    files on your hard disk, and save it as 'My RomMaker Script'. If you do
  586.    this, you will actually be making a premastered image using your data
  587.    files rather than the demonstration set shown in Fig 3.7.
  588.  
  589.